home *** CD-ROM | disk | FTP | other *** search
Gui4CLI script | 1998-06-24 | 1.0 KB | 64 lines |
- G4C
-
- winbig -1 -1 350 89 "Search For File"
- winsmall -1 -1 350 89
- wintype 11110001
- winout nil:
- varpath "climaster/*"
-
- xonload
- guiopen hunt.g
-
- xonopen
- lvuse hunt.g 1
- cm_goto = ""
- lvclear
- update hunt.g 2 $cm_goto
- setgad hunt.g 2 on
-
- xonclose
- cm_goto = ""
- update hunt.g 2 ""
- ifexists file env:res
- delete env:res
- endif
- lvuse hunt.g 1
- lvclear
- lvuse climaster $cm_srce
- lvdir none
- guiquit hunt.g
-
- xonrmb
- guiclose hunt.g
-
- xlistview 0 13 0 76 "" cm_goto "" 0 txt
- gadid 1
- gadfont topaz.font 8 000
- lvuse climaster $cm_srce
- gosub climaster godir
- gosub climaster update
- gosub climaster addpath
- guiclose hunt.g
-
- xtextin 0 0 350 13 "" cm_aptmp "" 30
- gadid 2
- lvuse climaster $cm_srce
- lvmulti first
- if $cm_select = ""
- ezreq "No Dir(s) Selected" Okay ""
- guiclose hunt.g
- endif
- guiwindow hunt.g wait
- while $cm_select > ""
- setstack 6000
- cli 'list >>env:res sub $cm_aptmp $cm_select all lformat "%s%s"'
- setstack 4000
- lvmulti off
- lvmulti next
- endwhile
- lvuse hunt.g 1
- lvchange env:res
- guiwindow hunt.g resume
-
- ; -------------------------------------
-